package utils

import "fmt"

const (
	LOG_LEVEL_INFO  = 0
	LOG_LEVEL_WARN  = 3
	LOG_LEVEL_FATAL = 5
)

var (
	LOG_LEVEL = LOG_LEVEL_INFO
)

func Info(args ...interface{}) {
	if LOG_LEVEL > LOG_LEVEL_INFO {
		return
	}
	fmt.Print("[INFO]:")
	fmt.Println(args...)
}
func Warn(args ...interface{}) {
	if LOG_LEVEL > LOG_LEVEL_WARN {
		return
	}
	fmt.Print("[Warn]:")
	fmt.Println(args...)
}
